package cn.yx.common.jpa.test.dos;

import cn.yx.common.jpa.pojo.SingleDo;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * <p>用户账户DO类</p>
 *
 * @author Wgssmart
 */
@Getter
@Setter
@ToString
@RequiredArgsConstructor
@Entity
@Table(name = "t_user_account")
public class UserAccountDo extends SingleDo {

    @Column(name = "account", length = 64)
    private String account;

    @Column(name = "phone", length = 11)
    private String phone;

    @Column(name = "email", length = 128)
    private String email;

    @Column(name = "password", length = 256)
    private String password;

    @Column(name = "token_status")
    private Byte tokenStatus;

}
